package org.inote.dao;

import org.apache.ibatis.annotations.Param;
import org.inote.pojo.tablePojo.User;

public interface UserMapper {

    int addUser(User user);

    User getUserByPhone(String userPhone);

    int updatePasswordById(@Param("id") int id, @Param("newPassword") String newPassword);

    boolean updateUser(User user);
}
